<script setup>

</script>

<template>
	
	<div>
		<!-- 顶部导航栏 -->
		<div class="Top">
			<ul>
				<li> <a href="">WeKnow</a> </li>
				<li> <a href="">读书</a> </li>
				<li> <a href="">电影</a> </li>
				<li> <a href="">音乐</a> </li>
				<li> <a href="">同城</a> </li>
				<li> <a href="">小组</a> </li>
				<li> <a href="">阅读</a> </li>
				<li> <a href="">FM</a> </li>
				<li> <a href="">时间</a> </li>
				<li> <a href="">豆品</a> </li>
			</ul>
			<!-- 右侧顶部 -->
			<ul class="youdingbu">
				<li> <a href="">客户端</a> </li>
				<li> <a href="">提醒</a> </li>
				<li> <a href="">豆邮</a> </li>
				
			</ul>
		</div>
		<!-- 第二层读书 -->
		<div class="dierceng">
			<div class="Box1">
				<router-link to="/quanbuyemian" class="dushu">WeKnow读书 </router-link>
				<div>
					<input type="text" placeholder="书名、作者、ISBN" class="search">
				</div>
				<img src="./imgs/搜索图标.png" alt="" class="shousuo">
			</div>
			<!-- 横线 -->
			<div class="hengxian"></div>
			<!-- 第三层 -->
			<div class="disanceng">
				<ul>
				<li> <router-link to="/my">我读</router-link> </li>
				<li> <router-link to="/dynamic">动态</router-link>  </li>
				<li> <router-link to="/cai">WeKnow猜</router-link> </li>
				<li> <router-link to="">分类浏览</router-link> </li>
				<li> <router-link to="">购物单</router-link> </li>
				<li> <router-link to="">WeKnow书店</router-link></li>
			</ul>
			<img class="logo" src="./imgs/logo.png" alt="">
			</div>
			
		</div>
		<router-view></router-view>
	</div>
</template>

<style scoped>
	

/* 顶部导航栏样式 */
.Top {
	width: 100%;
	height: 28px;
	background-color: #545652;
}

.Top a {
	text-decoration: none;
	color: #B0CBD5;

}

.Top li {
	display: inline;
	list-style-type: none;
	font-size: 12px;
	padding: 0px, 12px;
	margin: 12px;
}

.Top a:hover {
	color: #ffffff;
}

.youdingbu {
	margin-left: 1350px;
	margin-top: -20px;
	padding: 0px, 12px;
}

/* 第二层读书 */
.dierceng {
	width: 100%;
	height: 115.675px;
	background-color: #F6F6F1;
}

.dushu {
	margin: 7px 0px 0px 0px;
	font-weight: bolder;
	text-decoration: none;
	color: #58402A;
	font-size: 30px;
}

.Box1 {
	display: flex;
	width: 1040px;
	height: 59px;
	margin: 0px 239.6px;
	padding: 10px 0px 5px;
	background-color: #F6F6F1;
}

/* 搜索条 */
.search {
	width: 451.2px;
	height: 35px;
	border: none;
	box-shadow: 0px 2px 0px 0px rgba(158, 157, 158, 0.6);
	border-radius: 5px;
	margin: 7px 0px 0px 65px;
	padding: 0px 0px 0px 10px;
	outline: none;
}

.shousuo {
	width: 37px;
	height: 35px;
	margin: 7px 0px 0px 0px;
	cursor: pointer;
}

/* 横线 */
.hengxian {
	border-bottom: 1px solid rgb(230, 230, 230);
}

/* 第三层 */
.disanceng {
	width: 1040px;
	height: 40.675px;
	margin: 0px 239.6px;
}

/* 去除li默认样式 */
.disanceng li{
	display: inline;
	list-style-type: none;
	font-size: 12px;
	padding: 0px, 12px;
	margin: 40px;
}

.disanceng a{
	text-decoration: none;
	color: #614E3C;
	font-size: 14px;
}
.disanceng a:hover{
	color: white;
	background-color: #545652;
}

.disanceng ul{
	margin-top: 7px;
}

.logo{
	width: 350px;
    height: 90px;
	margin-top: -90px;
	margin-left: 860px;
}


</style>